package pojo;

import java.util.List;

public class PageBean<T> {
public int total;//总数
public int pageSize;//页面大小
public int totalPage;//总页数
public int currentPage;//当前页
List<T> list;
public PageBean() {
	super();
}
public PageBean(int total, int pageSize, int totalPage, int currentPage, List<T> list) {
	super();
	this.total = total;
	this.pageSize = pageSize;
	this.totalPage = totalPage;
	this.currentPage = currentPage;
	this.list = list;
}
public int getTotal() {
	return total;
}
public void setTotal(int total) {
	this.total = total;
}
public int getPageSize() {
	return pageSize;
}
public void setPageSize(int pageSize) {
	this.pageSize = pageSize;
}
public int getTotalPage() {
	return totalPage;
}
public void setTotalPage(int totalPage) {
	this.totalPage = totalPage;
}
public int getCurrentPage() {
	return currentPage;
}
public void setCurrentPage(int currentPage) {
	this.currentPage = currentPage;
}
public List<T> getList() {
	return list;
}
public void setList(List<T> list) {
	this.list = list;
}

}